import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import goods from '../components/goods/goods.vue'
import ratings from '../components/ratings/ratings.vue'
import seller from '../components/seller/seller.vue'

Vue.use(Router)

export default new Router({
	routes: [
		{
			path: '/goods',
			name: 'goods',
			component: goods
		},
		{
			path: '/seller',
			name: 'seller',
			component: seller
		},
		{
			path: '/ratings',
			name: 'ratings',
			component: ratings
		},
		{
			path: '/HelloWorld',
			name: 'HelloWorld',
			component: HelloWorld
		}

	],
	mode: 'history',
	linkActiveClass:'active'
})
